import request from '@/utils/request'

// 服务列表
export const getservelist = (data) => request({ url: '/admin/servelist', method: 'post', data })

// 服务添加
export const addserveadd = (data) => request({ url: '/admin/serveadd', method: 'post', data })

// 服务修改
export const updateserveupdate = (data) => request({ url: '/admin/serveupdate', method: 'post', data })

// 服务上下架
export const shangxiaservesxj = (data) => request({ url: '/admin/servesxj', method: 'post', data })

// 服务推荐取消推荐
export const recommedservetj = (data) => request({ url: '/admin/servetj', method: 'post', data })

// 服务分类二级列表
export const getservetypes = (data) => request({ url: '/admin/servetypes', method: 'post', data })

// 服务分类添加
export const addservetypeadd = (data) => request({ url: '/admin/servetypeadd', method: 'post', data })

// 服务分类修改  比添加多一个id
export const updateservetypeupdate = (data) => request({ url: '/admin/servetypeupdate', method: 'post', data })

// 服务分类删除
export const delservetypedel = (data) => request({ url: '/admin/servetypedel', method: 'post', data })

// 服务夜班加班费详情
export const getservenightinfo = (data) => request({ url: '/admin/servenightinfo', method: 'post', data })

// 服务夜班加班费设置 
export const updateservenightupdate = (data) => request({ url: '/admin/servenightupdate', method: 'post', data })
